#!/bin/bash

# Build Prod Flavor
echo "Building Prod Flavor..."

# Android
echo "Building Android Prod APK..."
flutter build apk --flavor prod -t lib/main_prod.dart

# iOS (if on macOS)
if [[ "$OSTYPE" == "darwin"* ]]; then
    echo "Building iOS Prod..."
    flutter build ios --flavor prod -t lib/main_prod.dart
fi

echo "Prod build completed!"
